function printArg(arg:any){
    console.log(`变量:${arg}`);
}

var arg:string = "字符串";

printArg(arg);